Skip to content

Conversation

artemredkin
Copy link
Collaborator

Closes #158 by adding a public init to StreamWriter

Motivation:
Even though StreamWriter is public, its init is not, that makes using it in tests impossible.

Modifications:
add public init to StreamWriter

Result:
StreamWriter can no be instantiated by the clients of the library

@artemredkin artemredkin requested review from weissi and Lukasa February 5, 2020 16:02
Copy link
Contributor

@weissi weissi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@artemredkin artemredkin merged commit 70ad494 into master Feb 5, 2020
@artemredkin artemredkin deleted the make_writer_init_public branch February 5, 2020 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

StreamWriter does not have public constructor
2 participants